package controllers;

import is.ru.honn.rupin.domain.User;
import is.ru.honn.rupin.service.UserService;
import play.cache.Cache;
import play.mvc.*;

import views.html.*;


public class Application extends RuPinController
{

    public static Result index()
    {
        return ok(index.render());
    }

    /*
    public static Result index(User user)
    {
        //Ugly code
        //Session session = new Session();
        if ( session(user.getUsername()) == user.getUsername());
           )
        return ok(index.render(user));
    }
    */

}